#ifndef COMMON_H
#define COMMON_H
int isLeap(int year);

int month2day(int year, int month);

//from 1900
long sumYearsDays(int year);

int sumMonthDays(int year, int month);

int monthFirstDay(long days);

void showCalender(int year, int month, int day);
#endif
